import {RouteRecordRaw} from 'vue-router'
import CustomLayout from '@/layout/CustomLayout.vue'

export default [
  {
    path: '/optimize',
    name: 'optimize',
    component: CustomLayout,
    children: [
      {
        path: 'optimize_tools',
        name: 'optimize_tools',
        component: () => import('@/views/optimize/optimize_tools.vue')
      },
      {
        path: 'slow_log',
        name: 'slow_log',
        component: () => import('@/views/optimize/slow_log.vue')
      },
    ]
  }
] as RouteRecordRaw[]
